
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
        <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">       
        <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
        <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
        <title>Eliminar Categoría</title>
    </head>
    <body class="container">
        <%@include file="../../opciones.jsp"%>
        <h1>Eliminar Categoría</h1>
        <form class="form-horizontal" METHOD="POST" ACTION="/TT2/EliminarCategoria">
            <div class="form-group">
                <label for="categorias" class="col-md-2 control-label">Seleccione Categoría</label>

                <div class="col-md-10">                    
                    <select id="categorias" class="form-control" NAME="COD_CATEGORIA">
                        <c:forEach var="fila" items="${Categorias}">
                            <OPTION value="${fila.codCategoria}" ><c:out value="${fila.nombre}" /></option>
                            </c:forEach>

                    </select>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-offset-2 col-md-10">
                    <INPUT TYPE="hidden" NAME = "ESTADO" value="0"/>
                    <button type="submit" class="btn btn-default">Eliminar Categoria</button>
                </div>
            </div>	
        </form>
        <h2>${Mensaje}</h2>
    </body>
</html>
